package com.tutu.mybatis.dynamic.datasource.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author qyy
 * @date 2021/3/18 16:55
 */
@Data
@TableName("t_order")
public class Order implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("num")
    private Integer num;
    @TableField("user_id")
    private Long userId;
}
